Dynamicweb 8 Documentation
FindIndex Method (Collection<T>)

Condition.
Returns an index of a first element from the collection that satisfies the condition.
Syntax
'Declaration
 
Public Function FindIndex( _ 
   ByVal predicate As Func(Of T,Boolean) _ 
) As Integer
public int FindIndex( 
   Func<T,bool> predicate 
)

Parameters

predicate
Condition.

Return Value

An index of a first element from the collection that satisfies the condition.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Collection<T> Class
Collection<T> Members

Send Feedback